package org.bonorsoft.modules.control.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.bonorsoft.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 检查结果
 * @Author: WilliamYe
 * @Date:   2021-02-26
 * @Version: V1.0
 */
@Data
@TableName("police_check_result")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CheckResult {

	/**检查结果id*/
	@TableId(type = IdType.ID_WORKER_STR)
	private java.lang.String id;
	/**检查结果*/
	@Excel(name = "检查结果", width = 15)
	private java.lang.String result;
	/**检查人*/
	@Excel(name = "检查人", width = 15)
	private java.lang.String checkPeople;
	/**检查时间*/
	@Excel(name = "检查时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date checkTime;
	/**检查地点*/
	@Excel(name = "检查地点", width = 15)
	private java.lang.String checkAddress;
	private java.lang.String addressId;
	private java.lang.String conditions;
	private java.lang.String hazardId;
	private java.lang.String hazardName;
	private java.lang.String opinion;
	/**下次检查时间*/
	@Excel(name = "下次检查时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date nextCheckTime;
	//管控措施
	private java.lang.String measures;
	//行业类别
	@Dict(dictTable = "ep_sys_param_value", dicCode = "param_code", dicText = "param_value", dictParam = "SWJG_DWSSHY")
	private java.lang.String hylbdm;
	//检查人签字
	private  java.lang.String checkName;
}
